FlexGrid for UWP
MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>,Func<Point>,Func<Point>) メソッド

C1.UWP アセンブリ > C1.Xaml 名前空間 > Extensions クラス > MakeRelative メソッド : MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>,Func<Point>,Func<Point>) メソッド
処理する Windows.UI.Xaml.Controls.Primitives.Popup
ポップアップの配置に使用される要素。
2つの要素の境界を示すコーナーを定義する AnchorMatchingの順序付きリストを提供する関数。
ポップアップの現在の位置を取得する関数。
参照要素の現在の位置を取得する関数。
ポップアップを別の Windows.UI.Xaml.FrameworkElementに相対的にします。
シンタックス
'宣言
 
Public Overloads Shared Sub MakeRelative( _
   ByVal popup As Windows.UI.Xaml.Controls.Primitives.Popup, _
   ByVal relativeElement As Windows.UI.Xaml.FrameworkElement, _
   ByVal getLocations As System.Func(Of List(Of AnchorMatching)), _
   ByVal getPosition As System.Func(Of Point), _
   ByVal getReferencePosition As System.Func(Of Point) _
) 
public static void MakeRelative( 
   Windows.UI.Xaml.Controls.Primitives.Popup popup,
   Windows.UI.Xaml.FrameworkElement relativeElement,
   System.Func<List<AnchorMatching>> getLocations,
   System.Func<Point> getPosition,
   System.Func<Point> getReferencePosition
)

パラメータ

popup
処理する Windows.UI.Xaml.Controls.Primitives.Popup
relativeElement
ポップアップの配置に使用される要素。
getLocations
2つの要素の境界を示すコーナーを定義する AnchorMatchingの順序付きリストを提供する関数。
getPosition
ポップアップの現在の位置を取得する関数。
getReferencePosition
参照要素の現在の位置を取得する関数。
参照

Extensions クラス
Extensions メンバ
オーバーロード一覧